﻿<%@ Page Language="C#" MasterPageFile="../masterPage/front/basePage.master" AutoEventWireup="false"
    CodeFile="login.aspx.cs" Inherits="User_login_login" Title="用户登录" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../css/user.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

            
                
                 <asp:Login ID="Login1" runat="server" CreateUserText="注册用户" 
                        PasswordRecoveryText="忘记密码" PasswordRecoveryUrl="~/Login/passwordrec.aspx" 
                        
                        DestinationPageUrl="~/home.aspx" onloggedin="Login1_LoggedIn" 
                        onloginerror="Login1_LoginError">
                        <LayoutTemplate>
                            <div id="Login">
                            <h3 class="loginT">用户登陆</h3>
                                <asp:Label ID="FailureText" runat="server" ForeColor="Red"></asp:Label>
                            <p>
                                <table>
                                    <tr>
                                        <td>
                                <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" CssClass="Label_User">用户名:</asp:Label>
                                        </td>
                                        <td>
                                <asp:TextBox ID="UserName" runat="server" CssClass="login_textbox"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                    ControlToValidate="UserName" ValidationGroup="validatelogin">* 请输入用户名</asp:RequiredFieldValidator>                                        
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                        <p></p>
                                        </td>
                                        <td>
                                        
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password"  CssClass="Label_User">密&nbsp;&nbsp;&nbsp;码:</asp:Label>
                                        
                                        </td>
                                        <td>
                                <asp:TextBox ID="Password" runat="server" TextMode="Password" CssClass="login_textbox"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server"  Display="Static"
                                    ControlToValidate="Password" ValidationGroup="validatelogin">* 请输入密码</asp:RequiredFieldValidator>
                                <asp:HyperLink ID="PasswordRecoveryLink" runat="server"  CssClass="Forget"
                                            NavigateUrl="~/Login/passwordrec.aspx">忘记密码?</asp:HyperLink>
                                        </td>
                                    </tr>
                                </table>

                           </p>
                           <p>
                                 <asp:CheckBox ID="RememberMe" runat="server" Text="下次记住我" CssClass="Label_User" />
                                 
                                 <asp:Button ID="LoginButton" runat="server" CommandName="Login"
                                     ValidationGroup="validatelogin" Text=" " CssClass="Login_button"  />
                           </p>
                           <p id="register"><span>还未注册？</span><a href="#"><asp:HyperLink ID="CreateUserLink" runat="server" 
                                            NavigateUrl="regguide.aspx">>>加入我们</asp:HyperLink></a></p>
                            </div>
                        </LayoutTemplate>
                        
                    </asp:Login>
               
            

</asp:Content>
